//using the Tv and Remote classes
#include <iostream>
#include "tv.h"
int main_use_tv()
{
    using std::cout;
    using std::endl;
    cout << "Initial settings for s42:" << endl;
    Tv s42;
    s42.volup();
    s42.settings();
    Remote grey;
    grey.set_chan(s42,10);
    grey.volup(s42);
    grey.volup(s42);
    cout << "Settings after using remote:\n";
    s42.settings();

    Remote s58(Tv::On);
    Remote s59(Tv::Off);
    s58 = s59;
    s58.set_mode(s42);
    grey.set_chan(s42,28);
    cout << "\n 58\" settings:\n";
    s42.settings();
    
    return 0;
}
